package com.ruoyi.business.domain.bo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.Date;

/**
 * @author 最爱喝兽奶
 * @create 2022/7/30
 **/
@Data
@ApiModel("评论的业务对象")
public class CommentBo extends BaseEntity {

    private String id;

    private String parentId;

    private String courseId;

    private String commentUser;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date commentTime;

    /**
     * 点赞数
     */
    private Long fabulous;

    /**
     * 评论内容
     */
    private String commentContext;

    /**
     * 踩的数量
     */
    private Long stamp;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date updateTime;

}
